package com.missilike.core.domain.im;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author pengpengli
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class IMResponseBody {
    @JsonProperty("ActionStatus")
    private String actionStatus;
    @JsonProperty("ErrorInfo")
    private String errorInfo;
    @JsonProperty("ErrorCode")
    private int errorCode;

    public IMResponseBody(String actionStatus, String errorInfo, int errorCode) {
        this.actionStatus = actionStatus;
        this.errorInfo = errorInfo;
        this.errorCode = errorCode;
    }

    public String getActionStatus() {
        return actionStatus;
    }

    public void setActionStatus(String actionStatus) {
        this.actionStatus = actionStatus;
    }

    public String getErrorInfo() {
        return errorInfo;
    }

    public void setErrorInfo(String errorInfo) {
        this.errorInfo = errorInfo;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }
}
